package com.web.dao;

import java.util.List;

import com.web.domain.PageBean;
import com.web.domain.Product;

public interface AdProductDao {

	List<Product> findProduct() throws Exception;

	int getTotalRecord() throws Exception;

	List<Product> findByAdPage(PageBean<Product> pb) throws Exception;

	void delProduct(String pid) throws Exception;

	void addProduct(Product product)  throws Exception;

	void upProduct1(Product product) throws Exception;

	void upProduct2(Product product) throws Exception;

}
